package com.fs.procure.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.core.pojo.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 入库申请对象 insto
 * 
 * @author lan
 * @date 2024-08-15
 */
public class Insto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库申请编号 */
    private Long instoId;

    /** 订单编号 */
    private Long stoId;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date instoDate;

    /** 审批状态 */
    private String instoState;

    /** 仓库编号 */
    private Long warehouseId;

    /** 申请人 */
    private String instoActor;

    /** 入库检查员 */
    private String instoChecker;

    public void setInstoId(Long instoId) 
    {
        this.instoId = instoId;
    }

    public Long getInstoId() 
    {
        return instoId;
    }
    public void setStoId(Long stoId) 
    {
        this.stoId = stoId;
    }

    public Long getStoId() 
    {
        return stoId;
    }
    public void setInstoDate(Date instoDate) 
    {
        this.instoDate = instoDate;
    }

    public Date getInstoDate() 
    {
        return instoDate;
    }
    public void setInstoState(String instoState) 
    {
        this.instoState = instoState;
    }

    public String getInstoState() 
    {
        return instoState;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setInstoActor(String instoActor) 
    {
        this.instoActor = instoActor;
    }

    public String getInstoActor() 
    {
        return instoActor;
    }
    public void setInstoChecker(String instoChecker) 
    {
        this.instoChecker = instoChecker;
    }

    public String getInstoChecker() 
    {
        return instoChecker;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("instoId", getInstoId())
            .append("stoId", getStoId())
            .append("instoDate", getInstoDate())
            .append("instoState", getInstoState())
            .append("warehouseId", getWarehouseId())
            .append("instoActor", getInstoActor())
            .append("instoChecker", getInstoChecker())
            .toString();
    }
}
